package com.travelparadise.tests;

import java.util.Collection;
import java.util.Date;

import org.springframework.transaction.annotation.Transactional;

import junit.framework.TestCase;

import com.travelparadise.dao.VolDao;
import com.travelparadise.domain.Vol;

public class SousTestVolDaoSpring extends TestCase implements /*ISousTest*/VolDao {

	private VolDao volDao;
	
	public VolDao getVolDao() {
		return volDao;
	}

	public void setVolDao(VolDao volDao) {
		this.volDao = volDao;
	}

	@Override
	@Transactional
	public Vol getById(int id) {
		Vol vol = volDao.getById(1);
		System.out.println(vol.toString());
		return vol;
	}

	@Override
	public Collection<Vol> searchByNameDateArrivee(String nomVilleArrivee) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Collection<Vol> searchByNameDateDepart(String nomVilleDepart) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Collection<Vol> searchByNameVilleArrivee(String nomVilleArrivee) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Collection<Vol> searchByNameVilleDepart(String nomVilleDepart) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Collection<Vol> searchByNameVilleDepartAndVilleArriveeAndDateDepart(
			String nomVilleDepart, String nomVilleArrivee, Date dateDepart) {
		// TODO Auto-generated method stub
		return null;
	}
	
	

}
